package com.guage.producter.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.pad.dpscn.daag.sdk.core.autoconfigure.DaoInterceptorAutoConfiguration;

@Configuration
@MapperScan("com.guage.producter.mapper") //mapper接口扫描
@Import(DaoInterceptorAutoConfiguration.class)
@EnableTransactionManagement  //事务管理
public class MybatisConfig {

}